package com.sqx.modules.userGetPhoneRecord.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sqx.common.utils.Result;
import com.sqx.modules.userGetPhoneRecord.entity.UserGetPhoneRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.userGetPhoneRecord.vo.UserGetPhoneRecordVo;

/**
 * <p>
 * 用户购买记录表 服务类
 * </p>
 *
 * @author wuchang
 * @since 2023-07-05
 */
public interface IUserGetPhoneRecordService extends IService<UserGetPhoneRecord> {

    Result buyPhone(Long userId, Long postPushId);

    Result getPostPushPhone(Long userId, Long postPushId);

    IPage<UserGetPhoneRecordVo> getByPhoneList(Integer page, Integer limit, UserGetPhoneRecordVo phoneRecordVo);
}
